//
//  HZMallCartsHttpManager.h
//  app
//
//  Created by 刘华舟 on 15/5/5.
//  Copyright (c) 2015年 hdaren. All rights reserved.
//

#import <Foundation/Foundation.h>

//tool
#import "HZMallSqlDataManager.h"

@class HZRemoteResult;

@interface HZMallCartsHttpManager : NSObject

@property (strong, nonatomic) HZMallSqlDataManager *sqlManager;

+ (instancetype)shareHttpRequestMananger;

//是否网络通
- (BOOL)networkReachable;

/*************************购物车****************************/

//获取购物车列表
- (void)loadMallCartListDataWithResult:(HZRemoteResult *)result;

//删除购物车列表中商品
- (void)deleteGoodsWithParams:(NSDictionary *)params result:(HZRemoteResult *)remote;

//添加购物车列表中商品
- (void)addGoodsWithParams:(NSDictionary *)params result:(HZRemoteResult *)remote;

//拉取我的订单确认之前数据
- (void)loadOrderConfirmDataWithParams:(NSDictionary *)params result:(HZRemoteResult *)remote;

//确认我的订单（下单）
- (void)createOrderDataWithParams:(NSDictionary *)params result:(HZRemoteResult *)remote;

////获取订单付款方式和配送信息
//- (void)loadOrderPayAndExpWithResult:(HZRemoteResult *)remote;
//
////获取个人的发票信息
//- (void)loadOrderInvoiceInfoWithResult:(HZRemoteResult *)remote;

//获取个人所有收货地址信息
- (void)loadOrderAllUserAddressInfoWithResutl:(HZRemoteResult *)remote cache:(BOOL)flag;

//删除个人收货地址信息
- (void)deleteUserAddressInfoWithParams:(NSDictionary *)params resutl:(HZRemoteResult *)remote;

//新增个人收货地址信息（默认设置为默认收货地址）
- (void)addUserAddressInfoWithParams:(NSDictionary *)params resutl:(HZRemoteResult *)remote;

//修改个人收货地址信息(包括设置默认)
- (void)modifyUserAddressInfoWithParams:(NSDictionary *)params resutl:(HZRemoteResult *)remote mask:(BOOL)isNeedMask;



@end
